package class2;

public class Gold implements Money,Metal{

    @Override
    public void show() {
        System.out.println("我实现了金属里的方法");
    }

    @Override
    public void buy() {
        System.out.println("我实现了货币里的方法");
    }

    public static void main(String[] args) {
        Metal me = new Gold();
        me.show();
        Money buy = new Gold();
        buy.buy();
    }
}
